package zack.project.domain.rebate.adapter.repository;

import zack.project.domain.rebate.model.aggregate.BehaviorRebateAggregate;
import zack.project.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import zack.project.domain.rebate.model.valobj.BehaviorTypeVO;
import zack.project.domain.rebate.model.valobj.DailyBehaviorRebateVO;

import java.util.List;

/**
 * @author A1793
 */
public interface IBehaviorRebateRepository {


    List<DailyBehaviorRebateVO> queryDailyBehaviorRebateConfig(BehaviorTypeVO behaviorTypeVO);

    void saveUserRebateRecord(String userId, List<BehaviorRebateAggregate> behaviorRebateAggregates);

    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
